package study.designpattern.flyweight;

public class CoffeeFlavor implements CoffeeOrder{
    private String flavor;
    
    
    
    public CoffeeFlavor(String flavor) {
        super();
        this.flavor = flavor;
    }



    public String getFlavor() {
        return flavor;
    }



    @Override
    public void serveCoffee(CoffeeOrderContext context) {
        System.out.println("Serving Coffee flavor " + flavor + " to table number " + context.getTable());
    }


}
